
#ifndef MouseAndCat_Messenger_h
#define MouseAndCat_Messenger_h

#include <iostream>

#include "Message.h"
#include "Types.h"
#include "Udp.h"

class Messenger
{
public:
    Messenger(std::string ip_address, int port);
    ~Messenger();
    
    void Send(Message&);
    Message& Receive(Message&);

private:
    Udp* udp_;
};

#endif
